#!/bin/bash
#Usage:
#   ./printHeadTailLine.sh test.txt

echo "Print first line of text: "
sed -n '1p' $1

echo "Print end line of text: "
sed -n '$p' $1
echo 


